package com.example.giteetest.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

@Controller
public class HelloController {

    @RequestMapping("/hello")
    @ResponseBody
    public String hello() {
        System.out.println("我来了");
        System.out.println("chenbo来了");
        System.out.println("chenbo");
        System.out.println("liuxiaojie 来了");
        System.out.println("liuxioajie 走了");
         System.out.println("liuxioajie 我又来了");
        System.out.println("hello");
        return "hello";
    }
}
